'''
利用BeautifulSoup4获取页面元素内容
'''
from urllib.request import urlopen
from bs4 import BeautifulSoup

html = urlopen("https://luxuewen.com/lauwen/index.html")
bsObj = BeautifulSoup(html.read(), "html.parser")
print(bsObj.p)
